move_dir = vars.join(' ')
start_room = Room.current.db_id

put("open #{move_dir}") if Room.current.exits[move_dir]['door']
put(move_dir)
tell_wait('mv_step')

if Room.current.db_id == start_room
  put("open #{move_dir}", move_dir)
  tell_wait('mv_door')
  exit if Room.current.db_id == start_room
  
  Room.add_exit(start_room, Room.current.db_id, move_dir)
  #ADD DOOR
else
  Room.add_exit(start_room, Room.current.db_id, move_dir)
end

room_con